@font-face {
  font-family: 'iconfont';
  src: url("../fonts/iconfont.eot");
  src: url("../fonts/iconfont.eot?#iefix") format("embedded-opentype"), url("../fonts/iconfont.woff2") format("woff2"), url("../fonts/iconfont.woff") format("woff"), url("../fonts/iconfont.ttf") format("truetype"), url("../fonts/iconfont.svg#iconfont") format("svg");
}

.account img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.iconfont {
  font-family: "iconfont" !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#header {
  position: absolute;
  top: 0;
  z-index: 10;
  min-width: 1200px;
  width: 100%;
  height: 64px;
  font-weight: normal;
  position: absolute;
  background-color: #f9f9f9;
}

#header nav {
  background-color: transparent;
  border: none;
}

#header a {
  color: #000;
  text-decoration: none;
}

#header .longin {
  color: #000;
  display: block;
  width: 70px;
  height: 32px;
  border: 1px solid #1746e0;
  border-radius: 5px;
  transition: all 233ms;
}

#header .register {
  color: #fff;
  background-color: #1746e0;
  display: block;
  width: 70px;
  height: 32px;
  border: 1px solid #1746e0;
  border-radius: 5px;
  transition: all 233ms;
}

#header .logo {
  float: left;
  height: 64px;
  /* background-color: pink; */
  text-align: center;
  line-height: 32px;
  color: #1746e0;
}

#header .logo span {
  font-size: 25px;
  font-weight: 1000;
}

#header .logo img {
  line-height: 45px;
  height: 50px;
  vertical-align: middle;
}

#header .logo h2 {
  display: inline-block;
  margin: 0;
  font-weight: normal;
  line-height: 64px;
}

#header .hd-nav {
  float: right;
}

#header .hd-nav li {
  height: 62px;
  box-sizing: border-box;
  padding: 15px 20px;
  text-align: center;
  line-height: 32px;
  margin: 0 10px;
  background-color: #f9f9f9;
}

#header .hd-nav li:first-child a {
  background-color: transparent !important;
}

#header .hd-nav li a {
  padding: 0 !important;
  line-height: 32px;
}

#header .hd-nav li.screen-xs {
  color: black;
}

#header .hd-nav li:hover {
  border-bottom: 1px solid #1746e0;
}

#header .hd-nav li:hover a {
  color: #1746e0;
}

#header .hd-nav li:nth-last-child(2) {
  padding: 15px 0;
}

#header .hd-nav li:nth-last-child(2):hover {
  border: none;
}

#header .hd-nav li:nth-last-child(2):hover a {
  color: #000;
}

#header .hd-nav li:last-child {
  padding: 15px 0;
}

#header .hd-nav li:last-child:hover {
  border: none;
}

#header .hd-nav li:last-child:hover a {
  color: white;
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
  #header {
    min-width: 992px !important;
    max-width: 1199px;
  }
  #header .hd-nav li {
    padding: 15px 3px;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  #header {
    min-width: 768px !important;
    max-width: 991px;
  }
  #header .logo h2,
  #header .logo span {
    font-size: 20px;
  }
  #header .hd-nav li {
    padding: 15px 3px;
  }
  #header .hd-nav li .longin {
    width: 60px;
    height: 30px;
    line-height: 30px;
    margin-top: 1px;
  }
  #header .hd-nav li .register {
    width: 60px;
    height: 30px;
    line-height: 30px;
    margin-top: 1px;
  }
}

@media only screen and (max-width: 767.5px) {
  #header {
    min-width: 50px !important;
    max-width: 767px;
    font-size: 12px;
  }
  #header .logo h2,
  #header .logo span {
    font-size: 15px;
  }
  #header .hd-nav li {
    height: 32px;
    padding: 3px 3px !important;
    margin: 0 3px !important;
  }
  #header .hd-nav li:hover {
    border: none;
  }
  #header .hd-nav li a:hover {
    color: #1746e0 !important;
  }
  #header .hd-nav li .longin {
    width: 60px;
    height: 30px;
    line-height: 30px;
    margin-top: 1px;
    border: none;
  }
  #header .hd-nav li .register {
    width: 60px;
    height: 30px;
    line-height: 30px;
    margin-top: 1px;
    border: none;
    background-color: transparent;
    color: #000;
  }
}
